package Java7_Concurrency_Cookbook.thread_synchronized_helper.cyclic_barrier;

public class Results {
    private int[] data;

    public Results(int size) {
        this.data = new int[size];
    }

    public void setData(int position, int value) {
        data[position] = value;
    }

    public int[] getData() {
        return data;
    }
}
